package com.sxz.sbs.module.sale.mode;

import com.bigkoo.pickerview.model.IPickerViewData;

import java.util.List;

/**
 * 车位类型bean
 */

public class StallTypeBean implements IPickerViewData{

    /**
     * Name : 平面车位
     * Data : [{"Name":"微型车位","Value":11},{"Name":"标准车位","Value":12},{"Name":"子母车位","Value":13},{"Name":"加长车位","Value":14},{"Name":"加宽车位","Value":15},{"Name":"独立车库","Value":16}]
     * Value : 10
     */

    private String Name;
    private int Value;
    private List<DataBean> Data;

    public StallTypeBean(int value,String name) {
        Name = name;
        Value = value;
    }

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public int getValue() {
        return Value;
    }

    public void setValue(int Value) {
        this.Value = Value;
    }

    public List<DataBean> getData() {
        return Data;
    }

    public void setData(List<DataBean> Data) {
        this.Data = Data;
    }

    @Override
    public String getPickerViewText() {
        return  this.Name;
    }

    public static class DataBean {
        /**
         * Name : 微型车位
         * Value : 11
         */

        private String Name;
        private int Value;

        public String getName() {
            return Name;
        }

        public void setName(String Name) {
            this.Name = Name;
        }

        public int getValue() {
            return Value;
        }

        public void setValue(int Value) {
            this.Value = Value;
        }
    }
}
